Automattic\Jetpack\My_Jetpack\Initializer B

Total Complexity 94
Dependencies 31
Dependents 3
Total lines 811
Lines of code 454
Logical lines of code 221
Comment lines 233
Methods 30
Properties 1

Methods 30

Method Rating Maintainability Complexity Lines of code
check_for_broken_modules()
A
50 11 29
is_jetpack_user_new()
A
47 10 34
enqueue_scripts()
S
38 3 80
alert_if_missing_connection()
S
50 6 33
has_file_system_write_access()
S
52 6 25
update_historically_active_jetpack_modules()
S
54 6 21
maybe_show_red_bubble()
S
59 5 13
init()
S
51 4 27
get_site_info()
S
58 4 17
setup_historically_active_jetpack_modules_sync()
S
58 4 15
add_red_bubble_alerts()
S
61 4 12
get_site()
S
60 3 12
is_commercial_site()
S
70 3 6
get_active_modules()
S
66 3 8
should_initialize()
S
64 3 10
get_installed_jetpack_plugins()
S
59 2 14
get_purchases()
S
63 2 12
register_rest_endpoints()
S
54 1 25
is_licensing_ui_enabled()
S
65 2 10
get_red_bubble_alerts()
S
67 2 8
permissions_callback()
S
80 1 3
is_user_from_known_host()
S
77 1 3
admin_page()
S
81 1 3
is_registered()
S
79 1 3
dismiss_welcome_banner()
S
74 1 4
get_idc_container_id()
S
81 1 3
can_use_analytics()
S
69 1 6
admin_init()
S
66 1 8
get_my_jetpack_flags()
S
68 1 7
queue_historically_active_jetpack_modules_update()
S
79 1 3